<?php if($blog_info->skin_name == 'Suu' || $blog_info->skin_name == 'Freedom') { ?>
	imageWidthLimit = 500;
	imageWidthLimitAnn = 200;
<?php } ?>
	
<?php if($blog_info->skin_name == 'AyayaSnow') { ?>
	imageWidthLimit = 512;
	imageWidthLimitAnn = 350;
<?php } ?>
	
<?php if($blog_info->skin_name == 'VisualBlue') { ?>
	imageWidthLimit = 480;
	imageWidthLimitAnn = 200;
<?php } ?>
	
<?php if($blog_info->skin_name == 'Suu') { ?>
	$(window).resize(function() {
		var w = $(window).width();
		if(w > 1200) {
			$("#wrapper").css("background-image", "url(/img/themes/Suu/body_bg.png)");
		} else if(w <= 1024) {
			$("#wrapper").css("background-image", "url(/img/themes/Suu/body_bg_s.png)");
		}
	});
	
	if(windowWidth <= 1024) {
		$("#wrapper").css("background-image", "url(/img/themes/Suu/body_bg_s.png)");
	}
<?php } ?>
	
<?php if($blog_info->skin_name == 'Freedom') { ?>
	$(window).resize(function() {
		var w = $(window).width();
		if(w > 1200 && w <= 1365) {
			$("body").css("background-image", "url(/img/themes/Freedom/fill_bg_1365.jpg)");
		} else if(w > 1365) {
			$("body").css("background-image", "url(/img/themes/Freedom/fill_bg_1600.jpg)");
		} else if(w <= 1024) {
			$("body").css("background-image", "url(/img/themes/Freedom/fill_bg_1024.jpg)");
		}
	});
	
	if(windowWidth <= 1024) {
		$("body").css("background-image", "url(/img/themes/Freedom/fill_bg_1024.jpg)");
	} else if(windowWidth > 1365) {
		$("body").css("background-image", "url(/img/themes/Freedom/fill_bg_1600.jpg)");
	}
<?php } ?>
